<%-- 
    Document   : check
    Created on : 2014/2/21, 下午 01:36:42
    Author     : Gjun
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    String user = request.getParameter("user");
    String password = request.getParameter("password");
    java.util.HashMap map = new java.util.HashMap();
    map.put("user", user);
    map.put("password", password);
    session.setAttribute("person", map);
    %>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <a href="logout.jsp">登出</a>
    </body>
</html>
